package org.bridge.db.bean.xml;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;

public class XmlResultSet implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1275992545629371362L;

	private Collection rows = new ArrayList();

	public Collection getRows() {
		return rows;
	}

	public void setRows(Collection rows) {
		this.rows = rows;
	}
	
	public void addRows(TableRow row) {
		this.rows.add(row);
		row.setNumber(this.rows.size());
	}
	
	
}
